<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <video id="video" width="800" height="600" controls 
    src="https://www.runoob.com/try/demo_source/movie.mp4"></video>

    <button onclick="play()">播放视频</button>

    <script>
        function play(){
            let video = document.getElementById('video')
            if(video.paused){
                video.play()
            }
        }
    </script>
</body>
</html>